package com.cskaoyan.service;

import com.cskaoyan.bean.Goods;
import com.cskaoyan.bean.ListData;
import com.cskaoyan.bean.goods.GoodsCatAndBrand;
import com.cskaoyan.bean.goods.GoodsData;

/**
 * @author xudengfeng
 * @date 2020/12/5 16:50
 */
public interface AdminGoodsService {
    ListData<Goods> queryGoods(Integer page, Integer limit, String sort, String order, String goodsSn, String name);

    int deleteGoodsById(Goods goods);

    GoodsData queryGoodsData(Integer id);

    GoodsCatAndBrand queryCatAndBrand();

    void updateGoodsInfo(GoodsData goodsData);

    void createGoods(GoodsData goodsData);
}
